<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>

<script type="text/javascript">
// <![CDATA[

  var geocoder;
  var map;
  var infowindow = new google.maps.InfoWindow();
  var marker;
  function initialize() {
    geocoder = new google.maps.Geocoder();
    var latlng = new google.maps.LatLng(40.730885,-73.997383);
    var myOptions = {
      zoom: 8,
      center: latlng,
      mapTypeId: 'roadmap'
    }
    map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
  }
 
  function codeLatLng() {
    if (geocoder) {
      geocoder.geocode( { 'latLng': latlng}, function(results, status) {
      });
    }
  }

  (function($){
    $(function(){
		$(document).ready(function() {
		alert('1');
		initialize();
			alert('2');
		});
    });
})(jQuery);


// ]]>
</script>

<div id="map_canvas" style="width:350px; height:400px"></div>
